import moment from 'moment'; //时间格式化


function quarterTime(start_date, end_date) {
  // start_date = moment((new Date(start_date).getTime())).format('YYYY-MM');
  // end_date = moment((new Date(end_date).getTime())).format('YYYY-MM');

  start_date = moment(start_date).format('YYYY-MM');
  end_date = moment(end_date).format('YYYY-MM');
  return `${start_date}-${end_date}`;
}

export {
  quarterTime
}
